package routers

import (
	"gin-learning/entity"
	"github.com/gin-gonic/gin"
)

var Admin entity.Controller

type RouteHandler func(context *gin.Context)

func init() {
	// r := entity.SRoute{Path: "/test", Method: "get", Handler: func() {}}

	// Admin = entity.SRoutes{
	// 	List: []entity.SRoute{r},
	// }
	handlers := make(map[string]RouteHandler)
	handlers["get"] = func(context *gin.Context) {

	}
}
